﻿/*
    Copyright Rain-Soft co.2009 
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rmlife.Model
{
    /// <summary>
    /// 性别类型
    /// </summary>
    [Serializable]
    public struct DicSex
    {
        /// <summary>
        /// 男
        /// </summary>
        public struct Male
        {
            public static int Value = 0;
            public static string Name = "男";
        }
        /// <summary>
        /// 女
        /// </summary>
        public struct Female
        {
            public static int Value = 1;
            public static string Name = "女";
        }
        /// <summary>
        /// 未知
        /// </summary>
        public struct Unknown
        {
            public static int Value = 2;
            public static string Name = "未知";
        }
    }

    /// <summary>
    /// 字典代码类型单
    /// </summary>
    public struct SysDicCode
    {
        /// <summary>
        /// 营业状态
        /// </summary>
        public static string OperatingStatus = "X0002";
        /// <summary>
        /// 证件类型
        /// </summary>
        public static string IDType = "X0005";
        /// <summary>
        /// 国别
        /// </summary>
        public static string Nation = "X0007";
        /// <summary>
        /// 民族
        /// </summary>
        public static string People = "X0010";
        /// <summary>
        /// 服务类型
        /// </summary>
        public static string ServiceType = "X0011";
        /// <summary>
        /// 报警等级
        /// </summary>
        public static string WarningLevel = "X0012";
        /// <summary>
        /// 报警颜色
        /// </summary>
        public static string WarningColor = "X0014";
        /// <summary>
        /// 暂住事由
        /// </summary>
        public static string TempReason = "X0015";
        /// <summary>
        /// 职业状况
        /// </summary>
        public static string Job = "X0016";
        /// <summary>
        /// 文化程度
        /// </summary>
        public static string Culture = "X0017";
        /// <summary>
        /// 重点人群库字段表
        /// </summary>
        public static string WatchingUser = "X0018";
        /// <summary>
        /// 报警声音
        /// </summary>
        public static string WarningSound = "X0019";
        /// <summary>
        /// 审计等级
        /// </summary>
        public static string WarningAudit = "X0020";
        /// <summary>
        /// 规则动作
        /// </summary>
        public static string WarningAction = "X0021";
        /// <summary>
        /// 处理状态
        /// </summary>
        public static string  AlarmStatus= "X0022";    
        /// <summary>
        /// 单位性质
        /// </summary>
        public static string CompanyProperty = "X0096";
        /// <summary>
        /// 照片类型
        /// </summary>
        public static string PhotoType = "X0097";
        /// <summary>
        /// 婚姻状况
        /// </summary>
        public static string MaritalSataus = "X0098";
        /// <summary>
        /// 单位类型
        /// </summary>
        public static string CompanyType = "X0099";

    }
    /// <summary>
    /// 数据字典实例
    /// </summary>
    public class SysDicInfo
    {
        public SysDicInfo()
        {
        }
        /// <summary>
        /// 唯一索引ID
        /// </summary>
        public int iPKID { get; set; }
        /// <summary>
        /// 字典代码
        /// </summary>
        public string sDicCode { get; set; }
        /// <summary>
        /// 字典名称
        /// </summary>
        public string sDicName { get; set; }
        /// <summary>
        /// 字典数据
        /// </summary>
        public string sDicValue { get; set; }
        /// <summary>
        /// 字典数据描述
        /// </summary>
        public string sDicValueDesc { get; set; }
        /// <summary>
        /// 字典备注
        /// </summary>
        public string sMemo { get; set; }
        /// <summary>
        /// 字典排序
        /// </summary>
        public int iOrder { get; set; }
        /// <summary>
        /// 字典状态:状态(0停用/1使用)
        /// </summary>
        public int iStatus { get; set; }
        /// <summary>
        /// 字典状态:作者
        /// </summary>
        public string sAuthor { get; set; }

    }

}
